package com.itheima.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 
 *
 * @author Michael Chow
 * @date   2020/11/14
 */
@Table(name = "t_history")
public class History implements Serializable {
    /**
     * 
     */
    @Id
    private Integer id;

    /**
     * 大田ID
     */
    private Integer fid;

    /**
     * 农作物ID
     */
    private Integer cid;

    /**
     * 记录起始时间
     */
    private String startTime;

    /**
     * 记录结束时间
     */
    private String endTime;

    /**
     * 设备数量
     */
    private Integer dnumber;

    /**
     * 产量（公斤）
     */
    private String output;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 损失比重（虫灾，自然灾害）（比例）
     */
    private String lose;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getDnumber() {
        return dnumber;
    }

    public void setDnumber(Integer dnumber) {
        this.dnumber = dnumber;
    }

    public String getOutput() {
        return output;
    }

    public void setOutput(String output) {
        this.output = output;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getLose() {
        return lose;
    }

    public void setLose(String lose) {
        this.lose = lose;
    }
}